package git.soulbgm.pojo;

/**
 * 发送信息
 *
 * @author SoulBGM
 * @date 2024/01/08
 */
public class SendInfo {

    /**
     * 包ID
     */
    private Long packetId;

    /**
     * 数据段编号
     */
    private Integer dataSegmentNumbering;

    /**
     * 数据类型
     */
    private Integer dataType;

    /**
     * 信源标识
     */
    private Integer sourceId;

    /**
     * 信源类型
     */
    private Integer sourceType;

    /**
     * 目标类型
     */
    private Integer targetType;

    /**
     * 信宿标识
     */
    private Integer targetId;

    /**
     * 包时间
     */
    private Long packetDate;

    /**
     * 地址 多个以逗号隔开
     */
    private String host;

    /**
     * 端口 多个以逗号隔开  与地址一一对应
     */
    private String port;

    /**
     * 发送协议
     * 0、UDP 1、FTP 2、TCP
     */
    private Integer protocol;

    /**
     * 信源机编号
     */
    private Integer infoSourceComputerCode;

    /**
     * 包序号
     */
    private Long packetNumber;

    /**
     * 数据段长度
     */
    private Integer dataSegmentLength;

    /**
     * 发送数据包的内容
     */
    private byte[] data;

    public Long getPacketId() {
        return packetId;
    }

    public void setPacketId(Long packetId) {
        this.packetId = packetId;
    }

    public Integer getDataSegmentNumbering() {
        return dataSegmentNumbering;
    }

    public void setDataSegmentNumbering(Integer dataSegmentNumbering) {
        this.dataSegmentNumbering = dataSegmentNumbering;
    }

    public Integer getDataType() {
        return dataType;
    }

    public void setDataType(Integer dataType) {
        this.dataType = dataType;
    }

    public Integer getSourceId() {
        return sourceId;
    }

    public void setSourceId(Integer sourceId) {
        this.sourceId = sourceId;
    }

    public Integer getSourceType() {
        return sourceType;
    }

    public void setSourceType(Integer sourceType) {
        this.sourceType = sourceType;
    }

    public Integer getTargetType() {
        return targetType;
    }

    public void setTargetType(Integer targetType) {
        this.targetType = targetType;
    }

    public Integer getTargetId() {
        return targetId;
    }

    public void setTargetId(Integer targetId) {
        this.targetId = targetId;
    }

    public Long getPacketDate() {
        return packetDate;
    }

    public void setPacketDate(Long packetDate) {
        this.packetDate = packetDate;
    }

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public String getPort() {
        return port;
    }

    public void setPort(String port) {
        this.port = port;
    }

    public Integer getProtocol() {
        return protocol;
    }

    public void setProtocol(Integer protocol) {
        this.protocol = protocol;
    }

    public Integer getInfoSourceComputerCode() {
        return infoSourceComputerCode;
    }

    public void setInfoSourceComputerCode(Integer infoSourceComputerCode) {
        this.infoSourceComputerCode = infoSourceComputerCode;
    }

    public Long getPacketNumber() {
        return packetNumber;
    }

    public void setPacketNumber(Long packetNumber) {
        this.packetNumber = packetNumber;
    }

    public Integer getDataSegmentLength() {
        return dataSegmentLength;
    }

    public void setDataSegmentLength(Integer dataSegmentLength) {
        this.dataSegmentLength = dataSegmentLength;
    }

    public byte[] getData() {
        return data;
    }

    public void setData(byte[] data) {
        this.data = data;
    }
}
